<?php

function validate_section($s, $sub) //validates
{
	if( ($s == 'sitemap' && !isset($sub)) || ($s == 'contact' && !isset($sub)) || $s == 'products'){
    return $s;
  }else{
	 return '404';
	}
} //validate_section
?>